#ifndef ZOM_H
#define ZOM_H


class zom
{
public:
    int x;
    int y;
    int life;
    int init_life;
    int type;  //0 普通僵尸 1路障 2铁门 3铁桶 4橄榄球
    int walk_speed;
    int walk_speed_normal;
    int walk_speed_reduce;
    int eat_fre;
    int eat_pre;
    int attack;
    bool freeze_statue=false;
    int freeze_time;
    bool reduce_statue=false;
    int reduce_time;
    bool produce_sun=false;   //是否生成阳光--打死僵尸有概率生成阳光;
public:
    zom();
    zom(int X,int Y,int L,int T,int W);

};

#endif // ZOM_H
